﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace ZSZ.Website.Models
{
    public class UserLoginModel
    {
        [Required(ErrorMessage ="手机号码不能为空")]
        [Phone(ErrorMessage ="手机号码格式不正确")]
        [DisplayName("手机号码")]
        public string PhoneNum { get; set; }

        [Required(ErrorMessage = "密码不能为空")]
        [DisplayName("密码")]
        public string Password { get; set; }
    }
}